Xbasic
MathUtil::DecimalAdd Method
Syntax
.Add as C (one as C, two as C)
Arguments
- oneCharacter
The first number to add, defined as a character string.
- twoCharacter
The second number to add, defined as a character string.
Returns
- resultCharacter
Returns the sum of the two values as a character string.
Description
Adds two numbers (defined as character strings) together.
Example
? MathUtil::Decimal::Add("1.20","2.30") = "3.50"